home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Netware Super Library
/
Netware Super Library.iso
/
pgm_tool
/
lu62
/
debug
/
scrollw.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-07-03
|
730b
|
38 lines
/*
* CopyRight 1995. Nicholas Poljakov all rights reserved.
*/
#include <dos.h>
#include <stdlib.h>
#define MAX_FRAME 31
extern struct menu_frame {
int startx, endx, starty, endy;
unsigned char *p;
char **menu;
char *keys;
int border;
int count;
unsigned char attrib;
int active;
int curx, cury;
char *header;
unsigned char shd;
} frame[MAX_FRAME];
scrollw(num)
int num;
{
union REGS r;
r.h.ah = 6;
r.h.al = 1;
r.h.bh = frame[num].attrib;
r.h.ch = frame[num].startx + 1;
r.h.cl = frame[num].starty + 1;
r.h.dh = frame[num].endx - 1;
r.h.dl = frame[num].endy - 1;
int86(0x10, &r, &r);
return (0);
}